package com.itomcat.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import com.itomcat.bean.Config;


@RestController
public class LoginController {
	
	@Autowired
	Config config;
	
	@RequestMapping("/myinfo")
	public String myinfo() {
		return "个人信息："+config.getUsername()+"，"+config.getPassword();
	}
	
}
